package com.mnsq.common.bean.enums;

/**
 * @author Administrator
 */

public enum TimeEnum {
    LONG_TWO(1000 * 2L, "2秒(long类型，请求处理时间超过N秒记录日志使用)"),
    SECOND_SIXTY(60L, "60秒"),
    MIN_THIRTY(60 * 30L, "30分"),
    MIN_SIXTY(60 * 60L, "60分"),
    HOUR_TWO(60 * 60 * 2L, "2小时"),
    HOUR_THREE(60 * 60 * 3L, "3小时"),
    HOUR_TWELVE(60 * 60 * 12L, "12小时"),
    HOUR_TWENTY_FOUR(60 * 60 * 24L, "24小时"),
    DAY_FIFTEEN(60 * 60 * 24 * 15L, "15天"),
    DAY_THIRTY(60 * 60 * 24 * 30L, "30天");

    public Long time;
    public String description;

    TimeEnum(Long time, String description) {
        this.time = time;
        this.description = description;
    }
}
